package com.game.sample;




import java.io.Serializable;

public abstract class Sample implements Cloneable, Serializable {
    public int sid;

    public String name;

    public int getSid() {
        return this.sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean setAttribute(String attributeName, String attributeValue) {
        return false;
    }

    public Sample clone() {
        try {
            return (Sample)super.clone();
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(
                    getClass().getName() + " clone, sid=" + this.sid, e);
        }
    }
}
